Machine learning-based diagnostic model for preoperative differentiation between xanthogranulomatous cholecystitis and gallbladder carcinoma: a multicenter retrospective cohort study

Background Xanthogranulomatous cholecystitis (XGC) and gallbladder carcinoma (GBC) share similar imaging and serological profiles, posing significant challenges in accurate preoperative diagnosis. This study aimed to identify reliable indicators and develop a predictive model to differentiate between XGC and GBC. Methods This retrospective study involved 436 patients from Zhejiang Provincial People’s Hospital and The Affiliated Lihuili Hospital of Ningbo University. Comprehensive preoperative imaging, including ultrasound, Computed Tomography (CT), Magnetic Resonance Imaging (MRI), and blood tests, were analyzed. Machine learning (Random Forest method) was employed for variable selection, and a multivariate logistic regression analysis was used to construct a nomogram for predicting GBC. Statistical analyses were performed using SPSS and RStudio software. Results The study identified gender, Murphy’s sign, absolute neutrophil count, glutamyl transpeptidase level, carcinoembryonic antigen level, and comprehensive imaging diagnosis as potential risk factors for GBC. A nomogram incorporating these factors demonstrated high predictive accuracy for GBC, outperforming individual or combined traditional diagnostic methods. External validation of the nomogram showed consistent results. Conclusion The study successfully developed a predictive nomogram for distinguishing GBC from XGC with high accuracy. This model, integrating multiple clinical and imaging indicators, offers a valuable tool for clinicians in making informed diagnostic decisions. The findings advocate for the use of comprehensive preoperative evaluations combined with advanced analytical tools to improve diagnostic accuracy in complex medical conditions.


Introduction
Gallbladder diseases are frequently encountered in the clinical setting and comprise gallbladder malignant carcinoma and xanthogranulomatous cholecystitis (XGC).It is vital to correctly diagnose these two diseases, given their contrasting treatment options.Xanthogranulomatous cholecystitis is a special pathological type of chronic cholecystitis (1)(2)(3).In clinical practice, it is challenging to distinguish xanthogranulomatous cholecystitis from gallbladder carcinoma (GBC) via preoperative examinations (4).The imaging features of XGC and GBC include gallbladder wall thickening, gallbladder wall enhancement, and invasion of surrounding tissues (5,6).They also have similar clinical manifestations, such as abdominal pain, jaundice, weight loss, and loss of appetite.Xanthogranulomatous cholecystitis is usually treated by cholecystectomy.However, owing to the similarities in imaging results and a lack of specific serological biomarkers, xanthogranulomatous cholecystitis is often misdiagnosed.Indeed, the diagnosis can only be confirmed via pathological examination or fine-needle aspiration following cholecystectomy (7,8).The latter is not a recommended diagnostic option according to current guidelines because of the potential risks of bile leakage, tumor dissemination, and sampling error.Therefore, there is an urgent need to develop a non-invasive method to pre-operatively distinguish between XGC and GBC.
Abdominal ultrasound, computed tomography, magnetic resonance imaging, and other imaging examinations are routine preoperative examinations performed for XGC and GBC patients.The thickening pattern of the gallbladder wall can be divided into two types, namely focal and diffuse (9).Although the pattern of wall thickening in gallbladder cancer differs from that in benign disease, it is less specific.Therefore, there are many cases of misdiagnosis in clinical work (10).In addition, XGC can coexist with GBC (11).Due to the comparable clinical manifestations and imaging features, it is difficult to differentiate between XGC and GBC in the clinical setting.Therefore, XGC is frequently misdiagnosed as GBC, leading to unnecessary radical cholecystectomy and significantly increasing the complexity of the surgical intervention and the incidence of intraoperative and postoperative complications, such as biliary fistula, surgical site infection, bleeding, and organ damage.Conversely, GBC may also be misdiagnosed as XGC, and incomplete preoperative evaluation leads to missing the optimal treatment window or unnecessary surgical treatment for GBC patients.At present, with the exception of postoperative pathological diagnosis, there is no satisfactory preoperative model to distinguish GBC from xanthogranulomatous cholecystitis.Therefore, accurate clinical diagnosis is essential for the ensuing treatments of XGC and GBC patients.

Materials
The subjects were patients who underwent cholecystectomy and a histologically-confirmed diagnosis of XGC and GBC in Zhejiang Provincial People's Hospital and The Affiliated Lihuili Hospital of Ningbo University from January 2011 to January 2022.The clinical data of 109 patients with XGC were retrospectively analyzed, and 16 patients with incomplete imaging data were excluded.Similarly, the clinical data of 229 patients with GBC were analyzed, among which 14 patients with missing data, 16 patients with incomplete imaging data, and 2 patients with secondary gallbladder malignancy were excluded.Finally, 93 patients with XGC and 197 patients with GBC were eligible to participate in the training cohort, and the patients were divided into the XGC and GBC groups.Similarly, 40 patients with XGC and 106 patients with GBC were enrolled in The Affiliated Lihuili Hospital of Ningbo University as the validation cohort.Details of the inclusion and exclusion criteria for patients in this study are illustrated in Figure 1.
The comprehensive preoperative imaging diagnosis was conducted through abdominal ultrasound, abdominal-enhanced computed tomography (CT), magnetic resonance cholangiopancreatography All experiments were conducted in accordance with the Declaration of Helsinki.All procedures performed involving human participants in the study adhered to the ethical standards of the Institutional Review Board (IRB).Due to the study's retrospective design, involving the use and analysis of past data, the IRB approved a waiver for the requirement of written informed consent.

Methods
Continuous variables following a normal distribution were represented by mean ± standard deviation (SD), while those following a skewed distribution were expressed as quartile range (IQR) and median.For comparison, the Mann-Whitney U test was used.Frequency data were expressed as numbers and percentages and compared using the Chi-square test or Fisher's exact test.The receiver-operating characteristic (ROC) curve analysis was used to assess the ability of each tumor marker and imaging method to differentiate xanthogranulomatous cholecystitis (XGC) from GBC (GBC).
The "Random Forest" method in machine learning was used for model variable selection.After the transformation of continuous variables into binary variables according to the best cutoff value, all variables were included in the multivariate logistic regression analysis according to their importance.Collinearity diagnosis was conducted for each variable included in the model.The OR and 95% CI of each independent risk factor in the model were calculated.A nomogram was subsequently constructed to predict the probability of GBC.The Hosmer-Lemesow test was used to evaluate the suitability of the nomogram (P > 0.05 indicating good fit), and correction curves were plotted to compare the relationship between the predicted probability and the actual probability.Sensitivity, specificity, positive predictive value (PPV), negative predictive value (NPV), and 95% CI were calculated for different risk cutoff points.The data set of The Affiliated Lihuili Hospital of Ningbo University was used for external validation of the nomogram.DeLong's test was used to estimate the difference between the ROC curves of the training and validation cohorts.

Results
In this study, clinical data of 290 patients in Zhejiang Provincial People's Hospital and 146 patients in The Affiliated Lihuili Hospital of Ningbo University was collected and analyzed.Table 1 summarizes the demographic characteristics, clinical symptoms, and data on laboratory and imaging data for both the training and  The results of preoperative ultrasonography, enhanced CT, MRI, and enhanced MR of patients are summarized in Table 2.As displayed in Figure 2, contrast-enhanced CT and contrastenhanced MRI had the highest discriminatory power, with AUCs (95% CI) of 0.819 (0.769-0.868) and 0.885 (0.764-1), respectively.Comprehensive preoperative imaging had an AUC (95% CI) of 0.821 (0.772-0.869).However, the AUC (95% CI) of unenhanced MRI was 0.729 (0.665-0.793), while that of the US was 0.692 (0.638-0.746).The inter-observer agreement between the two radiologists was good.The Kappa-Cohen index was 0.810 in the training cohort and 0.782 in the validation cohort.
The thirty-three characteristic variables in the study were included and ranked by importance using the random forest method (Figure 3).Finally, the top six variables with Mean decrease Gini (A larger value indicates a greater importance of the variable) were selected for inclusion in the model, and the continuous variables included N, GGT, and CEA.For the convenience of model construction and scoring, continuous variables were divided into binary variables according to the best cutoff value of ROC curve analysis (Table 3).

Serum CEA
The preoperative serum CEA levels of 93 patients in the XGC group and 197 patients in the GBC group were statistically analyzed.The median level of serum carcinoembryonic antigen in the GBC group was 2.9 µg/L (range: 0.2-244.9µg/L), which was significantly higher than 2.0 µg/L in the XGC group (range: 0.4-6.9µg/L) (P < 0.001).The ROC curve of serum carcinoembryonic antigen value for diagnosis was then drawn.The AUC value was found to be 0.693.According to the ROC curve analysis of CEA level, the optimal cutoff value of CEA was 3.2 ug/L when the Youden index was the highest.The sensitivity and specificity were 51.3% and 79.6%, respectively (Figure 2B).Subsequently, unifactor analysis was performed (Table 3).The difference between the two groups was statistically significant (P < 0.001).Multiple Logistic regression analysis was conducted to identify independent predictors for differentiating XGC from GBC.Then, stepwise inclusion and exclusion methods were used to analyze the model, which finally yielded six independent predictors for the differentiation of XGC and GBC (Table 4).In the comprehensive preoperative imaging diagnosis, compared with "benign gallbladder disease," the OR value of "GBC" was (OR = 17.45; 95% CI: 6.61-46.06),and the OR value of "suspected GBC" was (OR = 13.51;95% CI: 4.87-37.44).Similarly, female gender (OR = 4.21; 95% CI: 1.91-9.32)and CEA ≥ 3.2mg/L (OR = 4.05; 95% CI: 1.31-12.46)were independent risk factors for the diagnosis of GBC.Contrastingly, a positive Murphy's sign, GGT ≥ 29 U/L, and N ≥ 5.60 × 10 9 /L were associated with a lower risk of GBC, with OR values of 0.15 (95% CI: 0.07-0.34),0.27 (95% CI: 0.09-0.82),and 0.41 (95% CI: 0.18-0.91),respectively.
Based on the multifactor model, the nomogram was constructed with the six independent risk factors (Figure 4).In the nomogram, each predictor was assigned a score according to its classification.A patient's total score corresponded to the likelihood of GBC.The pvalue of the Hosmer-Lemesshow test for this model was 0.700 (P > 0.05, good model fitting) (Figure 5).Subsequently, a nomogram calibration chart was developed to evaluate the predictive value of the model by curves of prediction probability and actual probability.The AUC of the nomogram was 0.936 (95% CI, 0.909-0.963),with accuracy, sensitivity, specificity, NPV, and PPV of 87.2%, 76.3%, 92.4%, 82.6%, and 89.2%, respectively.Moreover, the optimal cutoff value of the nomogram was 0.65, corresponding to 155 points, and the corresponding sensitivity and specificity were 88.8% and 86.0%, respectively.Furthermore, comparing the AUCs revealed that among the two commonly used combinations, the nomogram had the highest discriminant ability and outperformed that of the combination of radiographic diagnosis and CEA levels, which had an AUC of 0.861 (P < 0.01) (Figure 6).According to the American Joint Committee on Cancer (AJCC) GBC staging, the model characteristics of GBC patients in the training cohort are demonstrated in Table 5.As shown in Table 6, comparing the  The nomogram was then incorporated into a web page (https:// nomomodel.shinyapps.io/dynnomapp/).When distinguishing between XGC and GBC, the probability of XGC could be determined after inputting the relevant data (Figure 8).

Discussion
XGC, also referred to as fibroxanthogranulomatous cholecystitis or waxy histiocytic granuloma, is a rare type of benign cholecystitis caused by chronic inflammation in the gallbladder (1).XGCs's etiology is elusive and is hypothesized to be caused by the rupture or ulceration of the Ro-Arsal sinus.This causes bile to penetrate the gallbladder wall and infiltrate the interstitial space, leading to an inflammatory response to phagocytize the bile.Microscopically, foam cells, multinucleated giant cells, fibrous tissue hyperplasia, and phagocytes with lipids in the cytoplasm can be visualized in sections (2,3).The imaging and

A B
Ranking of input variables in the random forest model to predict GBC.serological data, as well as the clinical symptoms of XGC and GBC, are similar.However, significant differences exist in their treatment modalities.The preferred treatment modality for XGC is cholecystectomy.When hilar invasion, intrahepatic bile duct dilatation, vascular invasion, or other potentially invasive conditions are present, surgical intervention should extend beyond the gallbladder to include the resection of adjacent affected organs (12).Due to severe fibrosis and inflammation, undissected Callot's triangle, unclear anatomy, life-threatening hemorrhage, and major bile duct injury, the frequency of conversion to open surgery in patients with XGC is higher than that in patients with other forms of cholecystitis.The conversion rate is between 10% and 80% (13-15).However, XGC is ultimately a benign disease with aggressive characteristics, and the use of intraoperative frozen sections aids in distinguishing XGC from GBC.However, in a retrospective study, 42 of 142 XGC patients had a preoperative diagnosis of GBC.In this subset of patients, the accuracy of frozen sections was 93%, and the accuracy of macroscopic diagnosis by the surgeon was 50% ( 16).This study's primary novel findings include the identification of several potential indicators for distinguishing XGC from GBC.These indicators are gender, the presence of Murphy's sign, absolute neutrophil count, levels of glutamyl transpeptidase, carcinoembryonic antigen levels, and comprehensive preoperative imaging diagnosis.The difference in the serum tumor marker levels between XGC and GBC remains controversial (17)(18)(19).Xiao et al. ( 20) found significant differences in absolute neutrophil count and CEA level in the results of preoperative laboratory tests between XGC and GBC, while there were no significant differences in the levels of AFP, CA12-5, and CA242.Moreover, Yu et al. (21) noted that the levels of tumor biomarkers are typically elevated in XGC and that CA19-9 and CA12-5 levels can increase the incidence of  XGC and XGC misdiagnosis.XGC is frequently accompanied by Mirizzi syndrome and internal fistula, and CA19-9 levels were elevated in 26.09% of patients.In this study, CEA was the only serum tumor marker with a statistical difference and included in the model, and its optimal cutoff value was 3.2 µg/L.Furthermore, there was no significant difference in the level of AFP, CA19-9, CA12-5, and CA15-3 between the two groups.
Similarly, the female gender and negative Murphy's sign were risk factors for GBC.Notably, the occurrence of GBC in women is two to six times higher than in men and progressively rises with advancing age (22).In patients with cholelithiasis, epigastric pain and a positive Murphy's sign are most commonly associated with acute gallbladder inflammation.Conversely, most patients with GBC do not exhibit severe symptoms.However, there is no universally accepted consensus in this regard.Regarding laboratory tests, the count of neutrophils and the level of GGT act as protective factors in diagnosing GBC.These findings are consistent with the study conducted by Xiao et al. (20).Statistically significant differences in neutrophil counts were also found in this study.The authors contend that most patients with XGC present symptoms of acute cholecystitis, whereas patients with GBC may only exhibit radiographic abnormalities and present without significant gallbladder inflammation.Serum GGT level is extensively used for the diagnosis of liver and biliary tract diseases and predominantly reflects biliary tract involvement in clinical practice.Bile duct obstruction and other diseases lead to cholestasis.The increase in cell membrane permeability induces the synthesis of bile salts, resulting in elevated GGT levels, which enter the blood circulation through the injured biliary duct epithelial cells (23).In this study, the serum GGT level of XGC patients was generally greater than 29 U/L, indicating biliary tract injury.In XGC, the granuloma of the gallbladder wall compresses the bile duct, invades the surrounding liver, and even forms a fistula with the intrahepatic bile duct.The bile duct is uninjured in the early stages of GBC.Consequently, a GGT level lower than 29 U/L is considered an independent risk factor of GBC.Similar to other biliary tract diseases, the differentiation between XGC and GBC relies on imaging modalities, including US, CT, and MRI.In XGC patients, the rupture or ulceration of the Rokitansky-Aschoff sinus facilitates bile entry into the gallbladder and infiltration into the interstitial space.However, features of the unclear hepatic silhouette or mucosal interruption are usually challenging to distinguish from GBC, with tumors invading the serous layer of the gallbladder.Interestingly, the OR for comprehensive imaging diagnosis was highest for GBC diagnosis in this study.Additionally, the complexity in differentiating XGC from GBC through imaging techniques is compounded by the thickening of the gallbladder wall, which can be a result of either acute or chronic inflammation of the gallbladder.Therefore, accurate identification of XGC and GBC by imaging technology remains challenging.Given that most patients in the study did not receive contrast-enhanced MRI, there is a lack of data regarding contrast-enhanced MRI for these patients.However, comprehensive preoperative imaging diagnosis was higher than that of enhanced CT alone in 80.7% (234/290) of cases.In XGC and GBC patients included in this study, the accuracy of preoperative diagnosis with CT enhancement and MRI enhancement was 78.2% (161/206) and 87.9% (29/33), respectively.In the comprehensive imaging diagnosis, the accuracy of XGC and GBC was 78.2% (77/93) and 78.2% (157/197).Regardless of whether a single imaging examination or comprehensive imaging modality is used, we can observe that there is a considerable proportion of GBC patients misdiagnosed as benign gallbladder diseases.Employing comprehensive imaging diagnosis can decrease the rate of such misdiagnoses in patients with GBC.Furthermore, Figure 9 illustrates one case of XGC and one case of GBC misdiagnosed by comprehensive imaging.In these two cases, the surgeon successfully selected the appropriate surgical approach for the patient by combining intraoperative frozen pathological results and model risk assessment.
Although the AUC of enhanced CT and enhanced MR was relatively high, the differentiation between XGC and GBC remains problematic in clinical practice.First, XGC is a relatively rare disease, and most patients are diagnosed with gallbladder inflammation due to the limitations of imaging features.Only a minority of patients further undergo MR examination.Therefore, we speculate that tests with high sensitivity and specificity are difficult to popularize in this population.This could have contributed to the perplexity in differentiating the two diseases.Second, radiologists re-evaluated the diagnosis in established patients with XGC and GBC in this study.However, in clinical practice, XGC and GBC should be distinguished from other  gallbladder diseases such as gallbladder polyps, gallbladder adenomyosis, and secondary GBC, while GBC in the neck of gallbladder even needs to be differentiated from diseases such as hilar cholangiocarcinoma.Therefore, the scope of diagnosis of enrolled patients was significantly limited, whereas radiologists conduct comprehensive differential diagnoses in real-life situations, which also adds to the difficulty in identifying XGC and GBC.Moreover, there was an unmet need for a preoperative diagnostic model combined with other independent risk factors to facilitate clinicians' decision-making.Most studies on the preoperative diagnosis of XGC and GBC focus on their differential diagnosis using various preoperative imaging examinations (10,24,25).However, reports on the demographics, clinical symptoms, and laboratory tests of XGC and GBC patients are scarce.This study is the first to design a diagnostic criteria chart to assist clinicians in diagnosing and treating XGC and GBC.To the best of our knowledge, this is the most extensive single-center study to construct a diagnostic nomogram for differentiating XGC from GBC.Compared with traditional methods, machine learning methods (random forest) have greatly improved the rigor of screening risk factors.By analyzing the demographics, clinical, laboratory, and imaging data of 93 patients with XGC and 197 patients with GBC, a nomogram with desirable predictive value for XGC and GBC was developed.The nomogram was subsequently well-calibrated.The valuable nomogram comprised variables such as gender, Murphy's sign, absolute neutrophil count, glutamyl transpeptidase level, carcinoembryonic antigen level, and comprehensive imaging diagnosis.Moreover, the AUC value of the nomogram in predicting XGC and GBC was 0.936 (95% CI: 0.894-0.954).As anticipated, the nomogram outperformed any single risk factor or combination of risk factors in the predictive model (Figures 2, 6).Furthermore, the data from the Affiliated Lihuili Hospital of Ningbo University were used for external validation.The results demonstrated that the model had optimal diagnostic performance (Figure 7).

A B
As shown in the figure above, the appropriate option was selected according to the patient's gender, Murphy's sign, CEA value, absolute neutrophil count, GGT value, and comprehensive imaging diagnosis.The right image shows the probability that the patient is diagnosed with gallbladder carcinoma.
Given that it is difficult to identify patients with XGC and GBC in clinical practice accurately, the nomogram sites were stratified into three groups based on optimal truncation points: low-, medium-, and high-risk groups.The total points, probability of GBC, sensitivity, and specificity are listed as follows: < 93, < 0.25, > 0.970, and < 0.559 in the low-risk group; 93-170, 0.25-0.75,0.970-0.812and 0.559-0.892 in the medium-risk group; > 170, > 0.75, < 0.812 and > 0.892 in the high-risk group.In the nomogram, the probability of the optimal cutoff value was determined to be 0.65 according to the Youden index, corresponding to 155 points.The sum of sensitivity (88.8%) and specificity (86.0%) for GBC diagnosis was the highest.Compiling comprehensive preoperative patient information and using the nomogram for scoring allows for risk stratification of GBC, offering a practical tool for clinicians.For patients in the intermediate-high risk group and those suspected of GBC based on imaging, an intraoperative frozen section is essential.When all imaging tests suggest benign gallbladder disease, but the surgeon remains unable to exclude GBC, this model aids the surgeon in deciding whether to opt for an intraoperative frozen section.
As shown in Table 5, patients in the training cohort were subjected to subgroup analysis according to AJCC stage of GBC, and the distribution of model characteristics of patients in each stage was compared.The proportion of women was higher than that of men in each stage.Compared with AJCC stage I, II and III patients, the proportion of Murphy's sign positive and N ≥5.60*10^9/L increased in stage IV patients.The authors consider that this may be related to the tumor invasion of surrounding organs in patients with stage IV, which is more similar to cholecystitis in symptoms and inflammatory indicators.In addition, no significant differences were observed between stages of GGT grouping.It is worth to note that the proportion of patients with CEA ≥3.2 ug/L in stage III and IV was higher than that in stage I and II, which the authors hold that may be related to lymph node metastasis.In the preoperative comprehensive imaging diagnosis, the proportion of GBC patients with stage III and IV diagnosed as benign gallbladder diseases was only 16.7% and 10.9%.
Due to the low degree of invasion and insignificant imaging features of AJCC stage I and II, Table 6 summarizes the imaging and pathological features of a total of 73 GBC patients in these two stages.Among the 37 patients in AJCC I stage, there were 1 case of carcinoma in situ, 7 cases of tumor invasion into the lamina propria, and 29 cases of tumor invasion into the muscular layer.Contrary to our expectations, the gallbladder wall thickness of stage I patients was generally higher than that of stage II patients.Although the two were not statistically significant, the authors suggest that this phenomenon may be related to a greater probability of adenoma or intraepithelial neoplasia in the former group.The missed diagnosis rate of AJCC stage I and II GBC patients by abdominal The following are two cases in which the model was applied to intraoperative decision making, with preoperative enhanced CT images of patients and postoperative pathological sections as above.Patient A showed a high-density mass with blurred margins in the arterial phase of enhanced CT.The mass was located in the neck of the gallbladder.The patient was a 52-year-old man with Murphy's sign, N 7.4*10^9/L, GGT 149U/L, and CEA 0.8ug/L.Comprehensive preoperative imaging diagnosis (A1) was considered suspicious of gallbladder cancer, but its probability of predicting gallbladder cancer was 0.239.In this case, the boundary and anatomical structure of the liver of the gallbladder were blurred during the operation, and the frozen section pathology showed no abnormality after complete resection of the gallbladder.The surgeon chose simple cholecystectomy based on the conjecture of the model, and no "gallbladder cancer" was found in postoperative routine pathology (A2).Patient B showed a high-density mass with blurred margins in the arterial phase of enhanced CT.The mass was located in the neck of the gallbladder.The patient was a 68-year-old female with negative Murphy's sign, N 4.35*10^9/L, GGT 15U/L, and CEA 2.3ug/L.Comprehensive preoperative imaging diagnosis (B1) considered benign gallbladder disease, but its probability of predicting gallbladder cancer was 0.880.In this case, no gallbladder cancer was found by repeated frozen pathology during operation, but radical resection of gallbladder cancer was still performed after the surgeon conjecturing according to the model, and postoperative routine pathology (B2) showed "gallbladder cancer".
ultrasound alone was 45.9% and 44.4%, respectively, while the missed diagnosis rate of comprehensive imaging diagnosis was 24.3% and 36.1%,respectively.This suggests that abdominal ultrasound combined with cross-sectional scan is helpful to reduce the rate of missed diagnosis, and intraoperative frozen section should be performed to determine the nature of GBC when an imaging examination is considered.In these two stage GBC patients, "unsuspected gallbladder carcinoma" was found in 7 and 1 cases, respectively.Among the 64 cases of intraoperative frozen section, 2 cases were misdiagnosed, and 3 cases were only reported as intraepithelial neoplasia.Therefore, the accuracy of intraoperative frozen section in patients with AJCC stage 1 and 2 GBC in this study was 92.2%.
This study has some limitations that need to be considered.First, the nomogram was developed and validated in China, whereas XGC and GBC are uncommon conditions in Western populations.Consequently, the results of the nomogram may not be generalizable to the global population.Second, this study was retrospective, and the sample size of this study was small.Hence, the accuracy of the model must be verified by a larger sample size.Moreover, the diagnostic model constructed in this study may be unsuitable for the differentiation of benign gallbladder diseases except XGC from GBC.
Approximately 60%-70% of GBC patients are incidentally detected by pathologists after cholecystectomy for benign diseases (26,27).In a study of 187 cases of GBC combined with 20 articles, 15 cases (8%) had normal gross appearance during the surgical operation (28).For these patients, it was difficult for surgeons to select the intraoperative frozen sections for pathological examination.Consequently, the decision to perform an intraoperative frozen section in most instances relies on the imaging examination and the judgment of the treating surgeon, indicating a lack of objective criteria for evaluation.
In conclusion, factors such as gender, Murphy's sign, absolute neutrophil count, glutamyl transpeptidase level, serum carcinoembryonic antigen level, and comprehensive imaging diagnosis emerge as potential independent risk factors for GBC.This nomogram is anticipated to serve as a novel and precise instrument for distinguishing GBC from XGC.

FIGURE 1 Flow
FIGURE 1Flow diagram of the study design.A total of 290 patients with postoperative pathological diagnosis of XGC and GBC were included in the study of Zhejiang Provincial People's Hospital, including 93 patients with XGC and 193 patients with GBC.The Affiliated Lihuili Hospital of Ningbo University was included in this study as a validation cohort.
Imaging and receiver operating characteristic (ROC) curve analysis of serum markers in XGC and GBC patients prior to cholecystectomy.(A) The areas under the AUC curve were 0.691, 0.819, 0.885, 0.729, and 0.821, respectively, for ultrasonography, enhanced CT, enhanced MRI, plain MRI, and comprehensive imaging diagnosis.(B) Serum CEA.The critical value of serum CEA (mg/L) in differentiating XGC and GBC showed that the area under the AUC curve was 0.693.Fu et al. 10.3389/fonc.2024.1355927Frontiers in Oncology frontiersin.orgpreoperative imaging examination and intraoperative frozen results of GBC patients with AJCC stage I and II, there was no statistically significant difference between them.The nomogram was validated externally in one validation cohort.The AUC value of the nomogram in The Affiliated Lihuili Hospital of Ningbo University was 0.924 (Figure 7).The ROC curve of the nomogram based on the validation cohort was not significantly different from the training cohort (P = 0.657).
(A) The mean decrease in accuracy.(B) Mean decrease Gini.Variables are listed from most important to least important based on the mean decrease in accuracy and mean reduction in the Gini coefficient.

FIGURE 4
FIGURE 4Construction of nomogram of xanthogranulomatous cholecystitis (XGC) and GBC (GBC) patients.The nomogram was established according to six possible independent predictors of cancer: gender, Murphy's sign, CEA, neutrophils absolute value (N), glutamyl transpeptienzyme (GGT), and comprehensive preoperative imaging diagnosis.For each patient, the values of the six risk factors are represented as dots by projecting them onto the topmost line (point scale).Summing the six variables and projecting the total points' value downward onto the bottom-most line can determine the probability of GBC.

FIGURE 5 FIGURE 6
FIGURE 5 Calibration plot of Normogram for the probability of diagnosis of gallbladder malignancy.

(A)
According to nomogram scores, the performance of the novel model (nomogram), image+CEA, image, and CEA in the validation cohort.The area under the receiver operating characteristic (ROC) curve of the model, image+CEA, image, and CEA were 0.924, 0.861, 0.829, and 0.623, respectively.(B) The area under the ROC curve of the model in the training cohort and validation cohort was 0.936 and 0.924.The P-value of DeLong's test was 0.657.

TABLE 1
Demographic and clinical characteristics of the study population.
validation cohorts.Univariate analysis revealed that gender, right upper quadrant abdominal pain, vomiting, abdominal distention, Murphy's sign, radiating pain, history of gallstones, absolute neutrophil count (N), prothrombin time (PT), comprehensive preoperative imaging diagnosis, as well as levels of albumin (ALB), GGT, alkaline phosphatase (ALK), direct bilirubin (DBIL), and CEA were potential risk factors for the differential diagnosis of XGC and GBC (all P < 0.05).

TABLE 2
The simple frequency distribution of preoperative US, enhanced CT, MR, enhanced MR and comprehensive imaging diagnosis results in XGC and GBC groups was shown.

TABLE 3
Univariate analysis of the GGT, N and CEA as a categorical variable.

TABLE 4 Multivariate
Logistic regression analysis of risk factors for XGC and GBC.

TABLE 5
Distribution of model characteristics in each AJCC stage of GBC patients.

TABLE 6
Characteristics of GBC patients with AJCC stage I and stage II.